package com.zking.ssm.service;

import com.zking.ssm.model.HotelAssess;
import com.zking.ssm.utils.PageBean;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IHotelAssessService {
    int deleteByPrimaryKey(Integer id);

    int insert(HotelAssess record);

    int insertSelective(HotelAssess record);

    @Transactional(readOnly = true)
    HotelAssess selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(HotelAssess record);

    int updateByPrimaryKeyWithBLOBs(HotelAssess record);

    int updateByPrimaryKey(HotelAssess record);
    @Transactional(readOnly = true)
    List<HotelAssess> SelectAll(HotelAssess hotelAssess, PageBean pageBean);//查询全部
}
